<template>
  <zl-upload v-model="fileUrl" :limit="1" upload-btn-text="选择文件" />
</template>

<script setup lang="ts">
import { ref } from 'vue'
import { ZlUpload } from '@zl-crud/components'
import '@zl-crud/components/upload/style/index'
// 全局文件上传实现
import './golbal-file-api.ts'

const fileUrl = ref([])
</script>
